Implement ``web.static()`` and ``RouteTableDef.static()`` API.